import {get_dic_data} from "@/api/dic/data";

const request_dic_data = async (code) => {
    let params = {
        dictCode: code
    }
    const res = await get_dic_data(params)
    if (res.code === 1) {
        return res.data
    }
    return [];
}

export {
    request_dic_data
}
